package com.nbcio.modules.crm.customer.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * CRM客户等级实体
 */
@Data
@TableName("crm_customer_level")
public class CrmCustomerLevel {
    @TableId
    private Long levelId;
    private String levelCode;
    private String levelName;
    private BigDecimal minAmount;
    private BigDecimal maxAmount;
    private BigDecimal discountRate; // 折扣率(%)
    private Integer sortOrder;
    private Integer status; // 1启用 0停用
    private String remark;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;
    private Long createDept;
    private String tenantId;
}

